\chapter{Chemical Equilibrium Condensation}
\label{chap:chemical}

To investigate the possible chemical format of the outflows from our simple 
Ia model, we apply the chemical condensation code to estimate it. The code
was designed by L. Grossman in 1972 and originally programmed by J. Lattimer
in 1978. Now it is maintained by A. Fedkin from University of Chicago and 
B. S. Meyer from Clemson University. Now Nucnet Tools is integrated into the
chemical condensation code to make it easier to grab the abundances in zones
in the format of xml files. 

The condensation code calculates the chemical 
forms of materials assuming the system has enough time to get into equilibrium
given a certain temperature and pressure. We just use our output and 
trajectories from the simple Ia model as the input. The condensation code
interpolates temperatures and pressures from the input trajectories. 

As described in Figure \ref{fig:rho_t9}, the radioactive isotopes would heat up
the outflows and cause multiple times with the same temperature. This is
a problem since the condensation code evolves as the temperature cools down
and use the interpolated temperature to get time. We modified the code to
handle this issue. 

The results are list in the tables below:

\begin{table}
\begin{center}
\caption{Chemical equilibrium distribution}
\label{tab:chemical}
\begin{tabular}{ccccccc}
\hline\hline
FeTi & NiTi & CaS & Si$_3$Ti$_5$ & TiC & Ni$_3$Ti & Ca \\
\hline
$2.4 \times 10^{-1}$ &
  $5.3 \times 10^{-2}$ &
  $4.6 \times 10^{-8}$ &
  $8.0 \times 10^{-10}$ &
  $2.7 \times 10^{-17}$ &
  $2.2 \times 10^{-4}$ &
  $2.2 \times 10^{-1}$ \\
\hline
\end{tabular}
\end{center}
\end{table}

\begin{figure}[h!]
\centering
\includegraphics[width=\figuresize\textwidth]{figures/solid_gas.pdf}
\caption{
Element forms of a Ia yields.
}
\label{fig:solid_gas}
\end{figure}

\begin{figure}[h!]
\centering
\includegraphics[width=\figuresize\textwidth]{figures/chemical.pdf}
\caption{
Chemical forms of metals.
}
\label{fig:chemical}
\end{figure}

